/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package cn.webrx;

import java.io.File;

/**
 * <p>Project: jse2303 - Ex10
 * <p>Powered by webrx On 2023-07-24 11:36:31
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Ex10 {
    public static void main(String[] args) {
        //
        String src = "D:\\0703\\javase\\jse2303\\jse2303\\ch09\\src\\cn\\webrx\\";
        File[] files = new File(src).listFiles();
        for (File s : files) {
            if (s.isFile() && s.getName().endsWith(".java")) {
                FileUtil.append(s, new File("src.txt"));
            }
        }


    }
}
